﻿var Product = function () { };

Product.prototype = {
    GetInfoById: function ($Id) {
        //通过产品Id获取信息
        var result = "";
        $.ajax({
            type: "post",
            url: "../../../Handler/ProductHandler.ashx",
            dataType: "json",
            data: { type: 4, Id: $Id },
            async: false,
            cache: true,
            success: function (data) {
                result = data;
            }
        });
        return result;
    }
}